package com.forum.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.forum.dto.AuditRecordDto;
import com.forum.bean.ArticleAudits;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ArticleAuditMapper extends BaseMapper<ArticleAudits> {
    /**
     * 分页查询审核记录列表
     * @param page 分页参数
     * @return AuditRecordDto 列表
     */
    IPage<AuditRecordDto> selectAuditRecordList(@Param("page") Page<AuditRecordDto> page,String searchKey);
}
